[Linux] Ipchains and iptables - block all ports except...

Posted by user198003 on Super User See other posts from Super User or by user198003
Published on 2010-06-15T14:35:18Z Indexed on 2010/06/15 15:23 UTC
Read the original article Hit count: 149

Filed under:
|

hi all,

can you help me how can i block all ports except

  1. ssh (port 22)
  2. httpd (port 80)

... using iptables and iphains.

thank you in advance!

© Super User or respective owner

Related posts about linux

Related posts about firewall